<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style></style>
    <!--2. 内部js -->
    <script>
        alert('秋香姐');
    </script>
    <link rel="stylesheet" href="">
    <!-- 3. 外部js -->
    <script src="script.js"></script>
</head>

<body>
    <div class="demo" style="color: red;"></div>
    <!-- 1.行内js -->
    <button onclick="alert('秋香')">唐伯虎点</button>
</body>

</html>